package cuiying.rbac.domain.entity;

/**
 * 实体类-用户
 *
 * @author 崔颖
 * @since 2025/4/19 23:32
 */
public class User extends BaseEntity{

    public String username;
    public String name;
    public String mobile;
    public String email;
    /**
     * 所属部门ID
     */
    public int deptId;
    public int roleId;
    public boolean enabled = true;
    public User() {
    }
    public User(int id,String username, String name, String mobile, String email,
                int deptId, int roleId) {
        super(id);
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }

}
